<h1>Editing flashcard</h1>

<% form_for([@fset,@flashcard]) do |f| %>
  <%= f.error_messages %>

<div>
  <div class="double">
    <div class="front side"><%= f.text_field :question %></div>
    <div class="back side"><%= f.text_field :answer %></div>
  </div>
  <div class="controls">
    <%= f.submit "Update" %>
  </div>
</div>
<% end %>

<ul>
<li><%= link_to '', fset_path(@flashcard.fset_id), { :class => "goback" } %></li></ul>
